package com.mycinema.biz;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mycinema.entity.Movie;

public interface MovieBiz {
	List<Movie> getMoviePage(int cid,
			String title,int startIndex,
			int pageSize);
	
	int getRowsCount(@Param("cid") int cid,@Param("title") String title);
	Movie getById(int id);
	
	void updateMovie(Movie movie);
	
	List<Movie> getMoviesWithIf( int cid,String title);
}
